package tests;
import org.jfugue.Pattern;
import org.jfugue.Player;


public class ThreadTest {

	public static void main(String[] args) {
		Player player = new Player();
		Pattern pattern = new Pattern("A5w G5w");
		PatternFeeder patternFeeder = new PatternFeeder(pattern);
		PatternListenerImpl listener = new PatternListenerImpl(player);
		pattern.addPatternListener(listener);
		patternFeeder.start();
		//player.play(pattern);
	}
	
}
